home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / Memory v2.1 •••• / Memory 2.1 / Memory 2.1.rsrc / CODE_5.txt < prev    next >
Text File  |  1987-05-10  |  71KB  |  1,256 lines

  1. # near model CODE resource
  2. # jump table entries: 416-424 (9 of them)
  3. export_60:
  4. 00000000  4E56 FFFA                link       A6, -0x0006
  5. 00000004  48E7 0308                movem.l    -[A7], D6,D7,A4
  6. 00000008  3D6D FB74 FFFE           move.w     [A6 - 0x2], [A5 - 0x48C]
  7. 0000000E  3D6D FB72 FFFC           move.w     [A6 - 0x4], [A5 - 0x48E]
  8. 00000014  3D6D FB78 FFFA           move.w     [A6 - 0x6], [A5 - 0x488]
  9. 0000001A  2E3C 0000 001E           move.l     D7, 0x1E
  10. 00000020  3C2E 0008                move.w     D6, [A6 + 0x8]
  11. 00000024  0D07                     btst       D7, D6
  12. 00000026  6700 0078                beq        +0x7A /* 000000A0 */
  13. 0000002A  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  14. 0000002E  4EBA 00A2                jsr        [PC + 0xA2 /* 000000D2 */]
  15. 00000032  4287                     clr.l      D7
  16. 00000034  3E2D F264                move.w     D7, [A5 - 0xD9C]
  17. 00000038  4286                     clr.l      D6
  18. 0000003A  3C3C 0200                move.w     D6, 0x200
  19. 0000003E  CC87                     and.l      D6, D7
  20. 00000040  4A86                     tst.l      D6
  21. 00000042  6600 002E                bne        +0x30 /* 00000072 */
  22. 00000046  558F                     subq.l     A7, 2
  23. 00000048  4EAD 01AA                jsr        [A5 + 0x1AA /* export_49 */]
  24. 0000004C  1E1F                     move.b     D7, [A7]+
  25. 0000004E  6700 000A                beq        +0xC /* 0000005A */
  26. 00000052  4EAD 019A                jsr        [A5 + 0x19A /* export_47 */]
  27. 00000056  4EFA 0016                jmp        [PC + 0x16 /* 0000006E */]
  28. label0000005A:
  29. 0000005A  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  30. 0000005E  4EBA 0072                jsr        [PC + 0x72 /* 000000D2 */]
  31. 00000062  3B6E FFFC FB72           move.w     [A5 - 0x48E], [A6 - 0x4]
  32. 00000068  3B6E FFFA FB78           move.w     [A5 - 0x488], [A6 - 0x6]
  33. label0000006E:
  34. 0000006E  4EFA 002C                jmp        [PC + 0x2C /* 0000009C */]
  35. label00000072:
  36. 00000072  3E2D FB7A                move.w     D7, [A5 - 0x486]
  37. 00000076  5347                     subq.w     D7, 1
  38. 00000078  CFFC 0012                muls.w     D7, 0x12
  39. 0000007C  49ED F6A6                lea.l      A4, [A5 - 0x95A]
  40. 00000080  4A34 7000                tst.b      [A4 + D7.w]
  41. 00000084  6600 000E                bne        +0x10 /* 00000094 */
  42. 00000088  3E3C 0003                move.w     D7, 0x3
  43. 0000008C  9E6D FB7A                sub.w      D7, [A5 - 0x486]
  44. 00000090  3B47 FB7A                move.w     [A5 - 0x486], D7
  45. label00000094:
  46. 00000094  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  47. 00000098  4EAD 02AA                jsr        [A5 + 0x2AA /* export_81 */]
  48. label0000009C:
  49. 0000009C  4EFA 0028                jmp        [PC + 0x28 /* 000000C6 */]
  50. label000000A0:
  51. 000000A0  0C6E 0006 0008           cmpi.w     [A6 + 0x8], 0x6
  52. 000000A6  6600 001E                bne        +0x20 /* 000000C6 */
  53. 000000AA  1E2D FB9A                move.b     D7, [A5 - 0x466]
  54. 000000AE  0A07 0001                xori.b     D7, 0x1
  55. 000000B2  1B47 FB9A                move.b     [A5 - 0x466], D7
  56. 000000B6  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  57. 000000BA  4EBA 0016                jsr        [PC + 0x16 /* 000000D2 */]
  58. 000000BE  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  59. 000000C2  4EAD 02AA                jsr        [A5 + 0x2AA /* export_81 */]
  60. label000000C6:
  61. 000000C6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  62. 000000CA  4E5E                     unlink     A6
  63. 000000CC  205F                     movea.l    A0, [A7]+
  64. 000000CE  548F                     addq.l     A7, 2
  65. 000000D0  4ED0                     jmp        [A0]
  66. export_59:
  67. fn000000D2:
  68. 000000D2  4E56 0000                link       A6, 0
  69. 000000D6  48E7 0100                movem.l    -[A7], D7
  70. 000000DA  4EFA 0068                jmp        [PC + 0x68 /* 00000144 */]
  71. label000000DE:
  72. 000000DE  4A2D FB9A                tst.b      [A5 - 0x466]
  73. 000000E2  6700 000C                beq        +0xE /* 000000F0 */
  74. 000000E6  1B7C 0003 F6A6           move.b     [A5 - 0x95A], 0x3
  75. 000000EC  4EFA 0008                jmp        [PC + 0x8 /* 000000F6 */]
  76. label000000F0:
  77. 000000F0  1B7C 0001 F6A6           move.b     [A5 - 0x95A], 0x1
  78. label000000F6:
  79. 000000F6  422D F6B8                clr.b      [A5 - 0x948]
  80. 000000FA  4EFA 0070                jmp        [PC + 0x70 /* 0000016C */]
  81. label000000FE:
  82. 000000FE  1B7C 0002 F6A6           move.b     [A5 - 0x95A], 0x2
  83. 00000104  1B7C 0002 F6B8           move.b     [A5 - 0x948], 0x2
  84. 0000010A  4EFA 0060                jmp        [PC + 0x60 /* 0000016C */]
  85. label0000010E:
  86. 0000010E  4A2D FB9A                tst.b      [A5 - 0x466]
  87. 00000112  6700 000C                beq        +0xE /* 00000120 */
  88. 00000116  1B7C 0003 F6A6           move.b     [A5 - 0x95A], 0x3
  89. 0000011C  4EFA 0008                jmp        [PC + 0x8 /* 00000126 */]
  90. label00000120:
  91. 00000120  1B7C 0001 F6A6           move.b     [A5 - 0x95A], 0x1
  92. label00000126:
  93. 00000126  1B7C 0002 F6B8           move.b     [A5 - 0x948], 0x2
  94. 0000012C  4EFA 003E                jmp        [PC + 0x3E /* 0000016C */]
  95. label00000130:
  96. 00000130  1B7C 0001 F6A6           move.b     [A5 - 0x95A], 0x1
  97. 00000136  1B7C 0003 F6B8           move.b     [A5 - 0x948], 0x3
  98. 0000013C  4EFA 002E                jmp        [PC + 0x2E /* 0000016C */]
  99. label00000140:
  100. 00000140  4EFA 002A                jmp        [PC + 0x2A /* 0000016C */]
  101. label00000144:
  102. 00000144  3E2E 0008                move.w     D7, [A6 + 0x8]
  103. 00000148  0C47 0001                cmpi.w     D7, 0x1
  104. 0000014C  6700 FF90                beq        -0x6E /* 000000DE */
  105. 00000150  0C47 0002                cmpi.w     D7, 0x2
  106. 00000154  6700 FFA8                beq        -0x56 /* 000000FE */
  107. 00000158  0C47 0003                cmpi.w     D7, 0x3
  108. 0000015C  6700 FFB0                beq        -0x4E /* 0000010E */
  109. 00000160  0C47 0004                cmpi.w     D7, 0x4
  110. 00000164  6700 FFCA                beq        -0x34 /* 00000130 */
  111. 00000168  4EFA FFD6                jmp        [PC - 0x2A /* 00000140 */]
  112. label0000016C:
  113. 0000016C  3B6E 0008 FB74           move.w     [A5 - 0x48C], [A6 + 0x8]
  114. 00000172  4EBA 000E                jsr        [PC + 0xE /* 00000182 */]
  115. 00000176  4CDF 0080                movem.l    D7, [A7]+
  116. 0000017A  4E5E                     unlink     A6
  117. 0000017C  205F                     movea.l    A0, [A7]+
  118. 0000017E  548F                     addq.l     A7, 2
  119. 00000180  4ED0                     jmp        [A0]
  120. fn00000182:
  121. 00000182  4E56 FEF8                link       A6, -0x0108
  122. 00000186  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  123. 0000018A  3E3C 0001                move.w     D7, 0x1
  124. 0000018E  0C47 0004                cmpi.w     D7, 0x4
  125. 00000192  6E00 0024                bgt        +0x26 /* 000001B8 */
  126. label00000196:
  127. 00000196  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  128. 0000019A  3F07                     move.w     -[A7], D7
  129. 0000019C  3C07                     move.w     D6, D7
  130. 0000019E  BC6D FB74                cmp.w      D6, [A5 - 0x48C]
  131. 000001A2  57C6                     seq        D6
  132. 000001A4  4406                     neg.b      D6
  133. 000001A6  1F06                     move.b     -[A7], D6
  134. 000001A8  A945                     syscall    CheckItem
  135. 000001AA  0C47 0004                cmpi.w     D7, 0x4
  136. 000001AE  6C00 0008                bge        +0xA /* 000001B8 */
  137. 000001B2  5247                     addq.w     D7, 1
  138. 000001B4  4EFA FFE0                jmp        [PC - 0x20 /* 00000196 */]
  139. label000001B8:
  140. 000001B8  286D F41E                movea.l    A4, [A5 - 0xBE2]
  141. 000001BC  2854                     movea.l    A4, [A4]
  142. 000001BE  4247                     clr.w      D7
  143. 000001C0  1E14                     move.b     D7, [A4]
  144. 000001C2  3F07                     move.w     -[A7], D7
  145. 000001C4  486C 0001                pea.l      [A4 + 0x1]
  146. 000001C8  3F3C 0000                move.w     -[A7], 0x0
  147. 000001CC  487A 00F2                pea.l      [PC + 0xF2 /* 000002C0, value 0x4E560000 'NV\0\0', cstring "NV" */]
  148. 000001D0  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  149. 000001D4  6600 0040                bne        +0x42 /* 00000216 */
  150. 000001D8  598F                     subq.l     A7, 4
  151. 000001DA  3F3C 03F8                move.w     -[A7], 0x3F8
  152. 000001DE  A9BA                     syscall    GetString
  153. 000001E0  2E1F                     move.l     D7, [A7]+
  154. 000001E2  2D47 FFF8                move.l     [A6 - 0x8], D7
  155. 000001E6  286E FFF8                movea.l    A4, [A6 - 0x8]
  156. 000001EA  2854                     movea.l    A4, [A4]
  157. 000001EC  47EE FEF8                lea.l      A3, [A6 - 0x108]
  158. 000001F0  4247                     clr.w      D7
  159. 000001F2  1E14                     move.b     D7, [A4]
  160. label000001F4:
  161. 000001F4  16DC                     move.b     [A3]+, [A4]+
  162. 000001F6  51CF FFFC                dbf        D7, -0x6 /* 000001F4 */
  163. 000001FA  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  164. 000001FE  3F3C 0004                move.w     -[A7], 0x4
  165. 00000202  A93A                     syscall    DisableItem
  166. 00000204  422D FB9A                clr.b      [A5 - 0x466]
  167. 00000208  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  168. 0000020C  3F3C 0006                move.w     -[A7], 0x6
  169. 00000210  A93A                     syscall    DisableItem
  170. 00000212  4EFA 0038                jmp        [PC + 0x38 /* 0000024C */]
  171. label00000216:
  172. 00000216  598F                     subq.l     A7, 4
  173. 00000218  3F3C 03F9                move.w     -[A7], 0x3F9
  174. 0000021C  A9BA                     syscall    GetString
  175. 0000021E  2E1F                     move.l     D7, [A7]+
  176. 00000220  2D47 FFF8                move.l     [A6 - 0x8], D7
  177. 00000224  286E FFF8                movea.l    A4, [A6 - 0x8]
  178. 00000228  2854                     movea.l    A4, [A4]
  179. 0000022A  47EE FEF8                lea.l      A3, [A6 - 0x108]
  180. 0000022E  4247                     clr.w      D7
  181. 00000230  1E14                     move.b     D7, [A4]
  182. label00000232:
  183. 00000232  16DC                     move.b     [A3]+, [A4]+
  184. 00000234  51CF FFFC                dbf        D7, -0x6 /* 00000232 */
  185. 00000238  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  186. 0000023C  3F3C 0004                move.w     -[A7], 0x4
  187. 00000240  A939                     syscall    EnableItem
  188. 00000242  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  189. 00000246  3F3C 0006                move.w     -[A7], 0x6
  190. 0000024A  A939                     syscall    EnableItem
  191. label0000024C:
  192. 0000024C  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  193. 00000250  3F3C 0004                move.w     -[A7], 0x4
  194. 00000254  486E FEF8                pea.l      [A6 - 0x108]
  195. 00000258  A947                     syscall    SetMenuItemText/SetItem
  196. 0000025A  4A2D FB9A                tst.b      [A5 - 0x466]
  197. 0000025E  6700 0028                beq        +0x2A /* 00000288 */
  198. 00000262  598F                     subq.l     A7, 4
  199. 00000264  3F3C 03FB                move.w     -[A7], 0x3FB
  200. 00000268  A9BA                     syscall    GetString
  201. 0000026A  2E1F                     move.l     D7, [A7]+
  202. 0000026C  2D47 FFF8                move.l     [A6 - 0x8], D7
  203. 00000270  286E FFF8                movea.l    A4, [A6 - 0x8]
  204. 00000274  2854                     movea.l    A4, [A4]
  205. 00000276  47EE FEF8                lea.l      A3, [A6 - 0x108]
  206. 0000027A  4247                     clr.w      D7
  207. 0000027C  1E14                     move.b     D7, [A4]
  208. label0000027E:
  209. 0000027E  16DC                     move.b     [A3]+, [A4]+
  210. 00000280  51CF FFFC                dbf        D7, -0x6 /* 0000027E */
  211. 00000284  4EFA 0024                jmp        [PC + 0x24 /* 000002AA */]
  212. label00000288:
  213. 00000288  598F                     subq.l     A7, 4
  214. 0000028A  3F3C 03FA                move.w     -[A7], 0x3FA
  215. 0000028E  A9BA                     syscall    GetString
  216. 00000290  2E1F                     move.l     D7, [A7]+
  217. 00000292  2D47 FFF8                move.l     [A6 - 0x8], D7
  218. 00000296  286E FFF8                movea.l    A4, [A6 - 0x8]
  219. 0000029A  2854                     movea.l    A4, [A4]
  220. 0000029C  47EE FEF8                lea.l      A3, [A6 - 0x108]
  221. 000002A0  4247                     clr.w      D7
  222. 000002A2  1E14                     move.b     D7, [A4]
  223. label000002A4:
  224. 000002A4  16DC                     move.b     [A3]+, [A4]+
  225. 000002A6  51CF FFFC                dbf        D7, -0x6 /* 000002A4 */
  226. label000002AA:
  227. 000002AA  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  228. 000002AE  3F3C 0003                move.w     -[A7], 0x3
  229. 000002B2  486E FEF8                pea.l      [A6 - 0x108]
  230. 000002B6  A947                     syscall    SetMenuItemText/SetItem
  231. 000002B8  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  232. 000002BC  4E5E                     unlink     A6
  233. 000002BE  4E75                     rts
  234. export_58:
  235. 000002C0  4E56 0000                link       A6, 0
  236. 000002C4  48E7 0300                movem.l    -[A7], D6,D7
  237. 000002C8  4EFA 00A4                jmp        [PC + 0xA4 /* 0000036E */]
  238. 000002CC  1E2D FB94                move.b     D7, [A5 - 0x46C]
  239. 000002D0  0A07 0001                xori.b     D7, 0x1
  240. 000002D4  1B47 FB94                move.b     [A5 - 0x46C], D7
  241. 000002D8  4EAD 026A                jsr        [A5 + 0x26A /* export_73 */]
  242. 000002DC  4EFA 00CA                jmp        [PC + 0xCA /* 000003A8 */]
  243. 000002E0  1E2D FB92                move.b     D7, [A5 - 0x46E]
  244. 000002E4  0A07 0001                xori.b     D7, 0x1
  245. 000002E8  1B47 FB92                move.b     [A5 - 0x46E], D7
  246. 000002EC  4EFA 00BA                jmp        [PC + 0xBA /* 000003A8 */]
  247. 000002F0  1E2D FB9C                move.b     D7, [A5 - 0x464]
  248. 000002F4  0A07 0001                xori.b     D7, 0x1
  249. 000002F8  1B47 FB9C                move.b     [A5 - 0x464], D7
  250. 000002FC  4EFA 00AA                jmp        [PC + 0xAA /* 000003A8 */]
  251. 00000300  1E2D FB96                move.b     D7, [A5 - 0x46A]
  252. 00000304  0A07 0001                xori.b     D7, 0x1
  253. 00000308  1B47 FB96                move.b     [A5 - 0x46A], D7
  254. 0000030C  4A2D FB70                tst.b      [A5 - 0x490]
  255. 00000310  6600 000C                bne        +0xE /* 0000031E */
  256. 00000314  598F                     subq.l     A7, 4
  257. 00000316  A975                     syscall    TickCount
  258. 00000318  2E1F                     move.l     D7, [A7]+
  259. 0000031A  2B47 FB8A                move.l     [A5 - 0x476], D7
  260. label0000031E:
  261. 0000031E  4EFA 0088                jmp        [PC + 0x88 /* 000003A8 */]
  262. 00000322  4EBA 02AA                jsr        [PC + 0x2AA /* 000005CE */]
  263. 00000326  4EFA 0080                jmp        [PC + 0x80 /* 000003A8 */]
  264. 0000032A  4EBA 054A                jsr        [PC + 0x54A /* 00000876 */]
  265. 0000032E  4EFA 0078                jmp        [PC + 0x78 /* 000003A8 */]
  266. 00000332  4EBA 00DA                jsr        [PC + 0xDA /* 0000040E */]
  267. 00000336  4EFA 0070                jmp        [PC + 0x70 /* 000003A8 */]
  268. 0000033A  4EBA 06B2                jsr        [PC + 0x6B2 /* 000009EE */]
  269. 0000033E  4EFA 0068                jmp        [PC + 0x68 /* 000003A8 */]
  270. 00000342  1E2D FB98                move.b     D7, [A5 - 0x468]
  271. 00000346  0A07 0001                xori.b     D7, 0x1
  272. 0000034A  1B47 FB98                move.b     [A5 - 0x468], D7
  273. 0000034E  4287                     clr.l      D7
  274. 00000350  3E2D F264                move.w     D7, [A5 - 0xD9C]
  275. 00000354  4286                     clr.l      D6
  276. 00000356  3C3C 0200                move.w     D6, 0x200
  277. 0000035A  CC87                     and.l      D6, D7
  278. 0000035C  4A86                     tst.l      D6
  279. 0000035E  6700 0006                beq        +0x8 /* 00000366 */
  280. 00000362  4EBA 0A90                jsr        [PC + 0xA90 /* 00000DF4 */]
  281. label00000366:
  282. 00000366  4EFA 0040                jmp        [PC + 0x40 /* 000003A8 */]
  283. label0000036A:
  284. 0000036A  4EFA 003C                jmp        [PC + 0x3C /* 000003A8 */]
  285. label0000036E:
  286. 0000036E  3E2E 0008                move.w     D7, [A6 + 0x8]
  287. 00000372  0C47 0001                cmpi.w     D7, 0x1
  288. 00000376  6D00 FFF2                blt        -0xC /* 0000036A */
  289. 0000037A  0C47 000C                cmpi.w     D7, 0xC
  290. 0000037E  6E00 FFEA                bgt        -0x14 /* 0000036A */
  291. 00000382  0447 0001                subi.w     D7, 0x1
  292. 00000386  DE47                     add.w      D7, D7
  293. 00000388  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  294. 0000038C  4EFB 7002                jmp        [PC + D7.w + 0x2]
  295. 00000390  FF3C                     .extension 0xF3C <<F/4-5/7>> // unimplemented
  296. 00000392  FF50                     .extension 0xF50 <<F/4-5/7>> // unimplemented
  297. 00000394  FF60                     .extension 0xF60 <<F/4-5/7>> // unimplemented
  298. 00000396  FF70                     .extension 0xF70 <<F/4-5/7>> // unimplemented
  299. 00000398  FFDA                     .invalid   <<F/7/7>>
  300. 0000039A  FF9A                     .invalid   <<F/6/7>>
  301. 0000039C  FF92                     .invalid   <<F/6/7>>
  302. 0000039E  FFDA                     .invalid   <<F/7/7>>
  303. 000003A0  FFA2                     .invalid   <<F/6/7>>
  304. 000003A2  FFAA                     .invalid   <<F/6/7>>
  305. 000003A4  FFDA                     .invalid   <<F/7/7>>
  306. 000003A6  FFB2                     .invalid   <<F/6/7>>
  307. label000003A8:
  308. 000003A8  4EBA 000E                jsr        [PC + 0xE /* 000003B8 */]
  309. 000003AC  4CDF 00C0                movem.l    D6,D7, [A7]+
  310. 000003B0  4E5E                     unlink     A6
  311. 000003B2  205F                     movea.l    A0, [A7]+
  312. 000003B4  548F                     addq.l     A7, 2
  313. 000003B6  4ED0                     jmp        [A0]
  314. export_57:
  315. fn000003B8:
  316. 000003B8  4E56 FFFE                link       A6, -0x0002
  317. 000003BC  48E7 0100                movem.l    -[A7], D7
  318. 000003C0  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  319. 000003C4  3F3C 0001                move.w     -[A7], 0x1
  320. 000003C8  1F2D FB94                move.b     -[A7], [A5 - 0x46C]
  321. 000003CC  A945                     syscall    CheckItem
  322. 000003CE  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  323. 000003D2  3F3C 0002                move.w     -[A7], 0x2
  324. 000003D6  1F2D FB92                move.b     -[A7], [A5 - 0x46E]
  325. 000003DA  A945                     syscall    CheckItem
  326. 000003DC  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  327. 000003E0  3F3C 0003                move.w     -[A7], 0x3
  328. 000003E4  1F2D FB9C                move.b     -[A7], [A5 - 0x464]
  329. 000003E8  A945                     syscall    CheckItem
  330. 000003EA  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  331. 000003EE  3F3C 0004                move.w     -[A7], 0x4
  332. 000003F2  1F2D FB96                move.b     -[A7], [A5 - 0x46A]
  333. 000003F6  A945                     syscall    CheckItem
  334. 000003F8  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  335. 000003FC  3F3C 000C                move.w     -[A7], 0xC
  336. 00000400  1F2D FB98                move.b     -[A7], [A5 - 0x468]
  337. 00000404  A945                     syscall    CheckItem
  338. 00000406  4CDF 0080                movem.l    D7, [A7]+
  339. 0000040A  4E5E                     unlink     A6
  340. 0000040C  4E75                     rts
  341. fn0000040E:
  342. 0000040E  4E56 0000                link       A6, 0
  343. 00000412  48E7 0100                movem.l    -[A7], D7
  344. 00000416  4AAD F26A                tst.l      [A5 - 0xD96]
  345. 0000041A  6600 000A                bne        +0xC /* 00000426 */
  346. 0000041E  4EBA 0012                jsr        [PC + 0x12 /* 00000432 */]
  347. 00000422  4EFA 0006                jmp        [PC + 0x6 /* 0000042A */]
  348. label00000426:
  349. 00000426  4EBA 008E                jsr        [PC + 0x8E /* 000004B6 */]
  350. label0000042A:
  351. 0000042A  4CDF 0080                movem.l    D7, [A7]+
  352. 0000042E  4E5E                     unlink     A6
  353. 00000430  4E75                     rts
  354. export_56:
  355. fn00000432:
  356. 00000432  4E56 FEFC                link       A6, -0x0104
  357. 00000436  48E7 0118                movem.l    -[A7], D7,A3,A4
  358. 0000043A  598F                     subq.l     A7, 4
  359. 0000043C  3F3C 03F7                move.w     -[A7], 0x3F7
  360. 00000440  A9BA                     syscall    GetString
  361. 00000442  2E1F                     move.l     D7, [A7]+
  362. 00000444  2D47 FFFC                move.l     [A6 - 0x4], D7
  363. 00000448  286E FFFC                movea.l    A4, [A6 - 0x4]
  364. 0000044C  2854                     movea.l    A4, [A4]
  365. 0000044E  47EE FEFC                lea.l      A3, [A6 - 0x104]
  366. 00000452  4247                     clr.w      D7
  367. 00000454  1E14                     move.b     D7, [A4]
  368. label00000456:
  369. 00000456  16DC                     move.b     [A3]+, [A4]+
  370. 00000458  51CF FFFC                dbf        D7, -0x6 /* 00000456 */
  371. 0000045C  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  372. 00000460  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  373. 00000464  486E FEFC                pea.l      [A6 - 0x104]
  374. 00000468  A947                     syscall    SetMenuItemText/SetItem
  375. 0000046A  598F                     subq.l     A7, 4
  376. 0000046C  3F3C 03E9                move.w     -[A7], 0x3E9
  377. 00000470  42A7                     clr.l      -[A7]
  378. 00000472  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  379. 00000478  A9BD                     syscall    GetNewWindow
  380. 0000047A  2E1F                     move.l     D7, [A7]+
  381. 0000047C  2B47 F26A                move.l     [A5 - 0xD96], D7
  382. 00000480  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  383. 00000484  A915                     syscall    ShowWindow
  384. 00000486  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  385. 0000048A  A873                     syscall    SetPort
  386. 0000048C  4267                     clr.w      -[A7]
  387. 0000048E  A887                     syscall    TextFont
  388. 00000490  3F3C 000C                move.w     -[A7], 0xC
  389. 00000494  A88A                     syscall    TextSize
  390. 00000496  3F3C 0001                move.w     -[A7], 0x1
  391. 0000049A  A889                     syscall    TextMode
  392. 0000049C  598F                     subq.l     A7, 4
  393. 0000049E  3F3C 03E9                move.w     -[A7], 0x3E9
  394. 000004A2  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  395. 000004A6  A9BE                     syscall    GetNewControl
  396. 000004A8  2E1F                     move.l     D7, [A7]+
  397. 000004AA  2B47 F272                move.l     [A5 - 0xD8E], D7
  398. 000004AE  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  399. 000004B2  4E5E                     unlink     A6
  400. 000004B4  4E75                     rts
  401. export_55:
  402. fn000004B6:
  403. 000004B6  4E56 FEFC                link       A6, -0x0104
  404. 000004BA  48E7 0118                movem.l    -[A7], D7,A3,A4
  405. 000004BE  598F                     subq.l     A7, 4
  406. 000004C0  3F3C 03F6                move.w     -[A7], 0x3F6
  407. 000004C4  A9BA                     syscall    GetString
  408. 000004C6  2E1F                     move.l     D7, [A7]+
  409. 000004C8  2D47 FFFC                move.l     [A6 - 0x4], D7
  410. 000004CC  286E FFFC                movea.l    A4, [A6 - 0x4]
  411. 000004D0  2854                     movea.l    A4, [A4]
  412. 000004D2  47EE FEFC                lea.l      A3, [A6 - 0x104]
  413. 000004D6  4247                     clr.w      D7
  414. 000004D8  1E14                     move.b     D7, [A4]
  415. label000004DA:
  416. 000004DA  16DC                     move.b     [A3]+, [A4]+
  417. 000004DC  51CF FFFC                dbf        D7, -0x6 /* 000004DA */
  418. 000004E0  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  419. 000004E4  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  420. 000004E8  486E FEFC                pea.l      [A6 - 0x104]
  421. 000004EC  A947                     syscall    SetMenuItemText/SetItem
  422. 000004EE  42AD F272                clr.l      [A5 - 0xD8E]
  423. 000004F2  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  424. 000004F6  A916                     syscall    HideWindow
  425. 000004F8  558F                     subq.l     A7, 2
  426. 000004FA  3F3C 0100                move.w     -[A7], 0x100
  427. 000004FE  486D F256                pea.l      [A5 - 0xDAA]
  428. 00000502  A970                     syscall    GetNextEvent
  429. 00000504  1E1F                     move.b     D7, [A7]+
  430. 00000506  6700 0006                beq        +0x8 /* 0000050E */
  431. 0000050A  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  432. label0000050E:
  433. 0000050E  558F                     subq.l     A7, 2
  434. 00000510  3F3C 0100                move.w     -[A7], 0x100
  435. 00000514  486D F256                pea.l      [A5 - 0xDAA]
  436. 00000518  A970                     syscall    GetNextEvent
  437. 0000051A  1E1F                     move.b     D7, [A7]+
  438. 0000051C  6700 0006                beq        +0x8 /* 00000524 */
  439. 00000520  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  440. label00000524:
  441. 00000524  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  442. 00000528  A914                     syscall    DisposeWindow
  443. 0000052A  42AD F26A                clr.l      [A5 - 0xD96]
  444. 0000052E  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  445. 00000532  4E5E                     unlink     A6
  446. 00000534  4E75                     rts
  447. export_54:
  448. 00000536  4E56 FFFC                link       A6, -0x0004
  449. 0000053A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  450. 0000053E  286D F2B8                movea.l    A4, [A5 - 0xD48]
  451. 00000542  2854                     movea.l    A4, [A4]
  452. 00000544  397C 000A 0030           move.w     [A4 + 0x30], 0xA /* '\n' */
  453. 0000054A  3E3C 0001                move.w     D7, 0x1
  454. 0000054E  BE6C 0030                cmp.w      D7, [A4 + 0x30]
  455. 00000552  6E00 003C                bgt        +0x3E /* 00000590 */
  456. 00000556  3D6C 0030 FFFC           move.w     [A6 - 0x4], [A4 + 0x30]
  457. label0000055C:
  458. 0000055C  3C07                     move.w     D6, D7
  459. 0000055E  5346                     subq.w     D6, 1
  460. 00000560  CDFC 001E                muls.w     D6, 0x1E
  461. 00000564  47EC 0032                lea.l      A3, [A4 + 0x32]
  462. 00000568  4273 6000                clr.w      [A3 + D6.w]
  463. 0000056C  4273 6002                clr.w      [A3 + D6.w + 0x2]
  464. 00000570  42B3 6004                clr.l      [A3 + D6.w + 0x4]
  465. 00000574  4273 6008                clr.w      [A3 + D6.w + 0x8]
  466. 00000578  17BA 001E 600A           move.b     [A3 + D6.w + 0xA], [PC + 0x1E /* 00000598, value 0x0, cstring "" */]
  467. 0000057E  42B3 601A                clr.l      [A3 + D6.w + 0x1A]
  468. 00000582  BE6E FFFC                cmp.w      D7, [A6 - 0x4]
  469. 00000586  6C00 0008                bge        +0xA /* 00000590 */
  470. 0000058A  5247                     addq.w     D7, 1
  471. 0000058C  4EFA FFCE                jmp        [PC - 0x32 /* 0000055C */]
  472. label00000590:
  473. 00000590  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  474. 00000594  4E5E                     unlink     A6
  475. 00000596  4E75                     rts
  476. 00000598  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  477. export_53: // at 0000059A (misaligned)
  478. 0000059C  0000 48E7                ori.b      D0, 0xE7
  479. 000005A0  0108                     btst       A0, D0
  480. 000005A2  286D F2B8                movea.l    A4, [A5 - 0xD48]
  481. 000005A6  2854                     movea.l    A4, [A4]
  482. 000005A8  4294                     clr.l      [A4]
  483. 000005AA  426C 0004                clr.w      [A4 + 0x4]
  484. 000005AE  42AC 0008                clr.l      [A4 + 0x8]
  485. 000005B2  42AC 000C                clr.l      [A4 + 0xC]
  486. 000005B6  197A 0014 0010           move.b     [A4 + 0x10], [PC + 0x14 /* 000005CC, value 0x0, cstring "" */]
  487. 000005BC  197A 000C 0020           move.b     [A4 + 0x20], [PC + 0xC /* 000005CA, value 0x0, cstring "" */]
  488. 000005C2  4CDF 1080                movem.l    D7,A4, [A7]+
  489. 000005C6  4E5E                     unlink     A6
  490. 000005C8  4E75                     rts
  491. 000005CA  0000 0000                ori.b      D0, 0x0
  492. export_52:
  493. fn000005CE:
  494. 000005CE  4E56 FEDC                link       A6, -0x0124
  495. 000005D2  48E7 0108                movem.l    -[A7], D7,A4
  496. 000005D6  A850                     syscall    InitCursor
  497. 000005D8  3D6D FB74 FFF8           move.w     [A6 - 0x8], [A5 - 0x48C]
  498. 000005DE  1D6D FB9A FFF6           move.b     [A6 - 0xA], [A5 - 0x466]
  499. 000005E4  598F                     subq.l     A7, 4
  500. 000005E6  3F3C 03FC                move.w     -[A7], 0x3FC
  501. 000005EA  42A7                     clr.l      -[A7]
  502. 000005EC  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  503. 000005F2  A97C                     syscall    GetNewDialog
  504. 000005F4  2E1F                     move.l     D7, [A7]+
  505. 000005F6  2B47 F26E                move.l     [A5 - 0xD92], D7
  506. 000005FA  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  507. 000005FE  3F3C 0004                move.w     -[A7], 0x4
  508. 00000602  486E FFFA                pea.l      [A6 - 0x6]
  509. 00000606  486E FFE8                pea.l      [A6 - 0x18]
  510. 0000060A  486E FFDC                pea.l      [A6 - 0x24]
  511. 0000060E  A98D                     syscall    GetDialogItem/GetDItem
  512. 00000610  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  513. 00000614  3F3C 0006                move.w     -[A7], 0x6
  514. 00000618  486E FFFA                pea.l      [A6 - 0x6]
  515. 0000061C  486E FFE4                pea.l      [A6 - 0x1C]
  516. 00000620  486E FFDC                pea.l      [A6 - 0x24]
  517. 00000624  A98D                     syscall    GetDialogItem/GetDItem
  518. 00000626  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  519. 0000062A  3F3C 0002                move.w     -[A7], 0x2
  520. 0000062E  486E FFFA                pea.l      [A6 - 0x6]
  521. 00000632  486E FFEC                pea.l      [A6 - 0x14]
  522. 00000636  486E FFDC                pea.l      [A6 - 0x24]
  523. 0000063A  A98D                     syscall    GetDialogItem/GetDItem
  524. 0000063C  286D F416                movea.l    A4, [A5 - 0xBEA]
  525. 00000640  2854                     movea.l    A4, [A4]
  526. 00000642  4247                     clr.w      D7
  527. 00000644  1E14                     move.b     D7, [A4]
  528. 00000646  3F07                     move.w     -[A7], D7
  529. 00000648  486C 0001                pea.l      [A4 + 0x1]
  530. 0000064C  3F3C 0000                move.w     -[A7], 0x0
  531. 00000650  487A 0198                pea.l      [PC + 0x198 /* 000007EA, value 0x4E56FDFC */]
  532. 00000654  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  533. 00000658  6700 002A                beq        +0x2C /* 00000684 */
  534. 0000065C  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  535. 00000660  286D F416                movea.l    A4, [A5 - 0xBEA]
  536. 00000664  2854                     movea.l    A4, [A4]
  537. 00000666  2F0C                     move.l     -[A7], A4
  538. 00000668  A98F                     syscall    SetDialogItemText/SetIText
  539. 0000066A  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  540. 0000066E  286D F41E                movea.l    A4, [A5 - 0xBE2]
  541. 00000672  2854                     movea.l    A4, [A4]
  542. 00000674  2F0C                     move.l     -[A7], A4
  543. 00000676  A98F                     syscall    SetDialogItemText/SetIText
  544. 00000678  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  545. 0000067C  4267                     clr.w      -[A7]
  546. 0000067E  A95D                     syscall    HiliteControl
  547. 00000680  4EFA 000C                jmp        [PC + 0xC /* 0000068E */]
  548. label00000684:
  549. 00000684  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  550. 00000688  3F3C 00FF                move.w     -[A7], 0xFF
  551. 0000068C  A95D                     syscall    HiliteControl
  552. label0000068E:
  553. 0000068E  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  554. 00000692  3F3C 0006                move.w     -[A7], 0x6
  555. 00000696  4267                     clr.w      -[A7]
  556. 00000698  3F3C FFFF                move.w     -[A7], 0xFFFF
  557. 0000069C  A97E                     syscall    SelectDialogItemText/SelIText
  558. 0000069E  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  559. 000006A2  3F3C 0004                move.w     -[A7], 0x4
  560. 000006A6  4267                     clr.w      -[A7]
  561. 000006A8  3F3C FFFF                move.w     -[A7], 0xFFFF
  562. 000006AC  A97E                     syscall    SelectDialogItemText/SelIText
  563. label000006AE:
  564. 000006AE  1D7C 0001 FFF4           move.b     [A6 - 0xC], 0x1
  565. 000006B4  42A7                     clr.l      -[A7]
  566. 000006B6  486E FFFC                pea.l      [A6 - 0x4]
  567. 000006BA  A991                     syscall    ModalDialog
  568. 000006BC  0C6E 0001 FFFC           cmpi.w     [A6 - 0x4], 0x1
  569. 000006C2  6600 00E0                bne        +0xE2 /* 000007A4 */
  570. 000006C6  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  571. 000006CA  486E FEDC                pea.l      [A6 - 0x124]
  572. 000006CE  A990                     syscall    GetDialogItemText/GetIText
  573. 000006D0  4247                     clr.w      D7
  574. 000006D2  1E2E FEDC                move.b     D7, [A6 - 0x124]
  575. 000006D6  3F07                     move.w     -[A7], D7
  576. 000006D8  486E FEDD                pea.l      [A6 - 0x123]
  577. 000006DC  3F3C 0000                move.w     -[A7], 0x0
  578. 000006E0  487A 0108                pea.l      [PC + 0x108 /* 000007EA, value 0x4E56FDFC */]
  579. 000006E4  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  580. 000006E8  6600 0016                bne        +0x18 /* 00000700 */
  581. 000006EC  422D FB9A                clr.b      [A5 - 0x466]
  582. 000006F0  0C6D 0004 FB74           cmpi.w     [A5 - 0x48C], 0x4
  583. 000006F6  6600 0008                bne        +0xA /* 00000700 */
  584. 000006FA  3B7C 0003 FB74           move.w     [A5 - 0x48C], 0x3
  585. label00000700:
  586. 00000700  558F                     subq.l     A7, 2
  587. 00000702  486E FEDC                pea.l      [A6 - 0x124]
  588. 00000706  4EBA 00E2                jsr        [PC + 0xE2 /* 000007EA */]
  589. 0000070A  1E1F                     move.b     D7, [A7]+
  590. 0000070C  6700 0010                beq        +0x12 /* 0000071E */
  591. 00000710  2F2D F41E                move.l     -[A7], [A5 - 0xBE2]
  592. 00000714  486E FEDC                pea.l      [A6 - 0x124]
  593. 00000718  A907                     syscall    SetString
  594. 0000071A  4EFA 0006                jmp        [PC + 0x6 /* 00000722 */]
  595. label0000071E:
  596. 0000071E  422E FFF4                clr.b      [A6 - 0xC]
  597. label00000722:
  598. 00000722  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  599. 00000726  486E FEDC                pea.l      [A6 - 0x124]
  600. 0000072A  A990                     syscall    GetDialogItemText/GetIText
  601. 0000072C  4247                     clr.w      D7
  602. 0000072E  1E2E FEDC                move.b     D7, [A6 - 0x124]
  603. 00000732  3F07                     move.w     -[A7], D7
  604. 00000734  486E FEDD                pea.l      [A6 - 0x123]
  605. 00000738  3F3C 0000                move.w     -[A7], 0x0
  606. 0000073C  487A 00AC                pea.l      [PC + 0xAC /* 000007EA, value 0x4E56FDFC */]
  607. 00000740  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  608. 00000744  6600 0028                bne        +0x2A /* 0000076E */
  609. 00000748  558F                     subq.l     A7, 2
  610. 0000074A  3F3C 03EF                move.w     -[A7], 0x3EF
  611. 0000074E  42A7                     clr.l      -[A7]
  612. 00000750  A988                     syscall    CautionAlert
  613. 00000752  3E1F                     move.w     D7, [A7]+
  614. 00000754  3D47 FFFC                move.w     [A6 - 0x4], D7
  615. 00000758  0C6E 0001 FFFC           cmpi.w     [A6 - 0x4], 0x1
  616. 0000075E  6600 000A                bne        +0xC /* 0000076A */
  617. 00000762  422E FFF4                clr.b      [A6 - 0xC]
  618. 00000766  4EFA 0006                jmp        [PC + 0x6 /* 0000076E */]
  619. label0000076A:
  620. 0000076A  4EAD 016A                jsr        [A5 + 0x16A /* export_41 */]
  621. label0000076E:
  622. 0000076E  558F                     subq.l     A7, 2
  623. 00000770  486E FEDC                pea.l      [A6 - 0x124]
  624. 00000774  4EBA 0074                jsr        [PC + 0x74 /* 000007EA */]
  625. 00000778  1E1F                     move.b     D7, [A7]+
  626. 0000077A  CE2E FFF4                and.b      D7, [A6 - 0xC]
  627. 0000077E  6700 0010                beq        +0x12 /* 00000790 */
  628. 00000782  2F2D F416                move.l     -[A7], [A5 - 0xBEA]
  629. 00000786  486E FEDC                pea.l      [A6 - 0x124]
  630. 0000078A  A907                     syscall    SetString
  631. 0000078C  4EFA 0006                jmp        [PC + 0x6 /* 00000794 */]
  632. label00000790:
  633. 00000790  422E FFF4                clr.b      [A6 - 0xC]
  634. label00000794:
  635. 00000794  2F2D F416                move.l     -[A7], [A5 - 0xBEA]
  636. 00000798  A9AA                     syscall    ChangedResource
  637. 0000079A  2F2D F41E                move.l     -[A7], [A5 - 0xBE2]
  638. 0000079E  A9AA                     syscall    ChangedResource
  639. 000007A0  4EFA 0018                jmp        [PC + 0x18 /* 000007BA */]
  640. label000007A4:
  641. 000007A4  0C6E 0002 FFFC           cmpi.w     [A6 - 0x4], 0x2
  642. 000007AA  6600 000E                bne        +0x10 /* 000007BA */
  643. 000007AE  3B6E FFF8 FB74           move.w     [A5 - 0x48C], [A6 - 0x8]
  644. 000007B4  1B6E FFF6 FB9A           move.b     [A5 - 0x466], [A6 - 0xA]
  645. label000007BA:
  646. 000007BA  4A2E FFF4                tst.b      [A6 - 0xC]
  647. 000007BE  6700 FEEE                beq        -0x110 /* 000006AE */
  648. 000007C2  3F2D FB74                move.w     -[A7], [A5 - 0x48C]
  649. 000007C6  4EBA F90A                jsr        [PC - 0x6F6 /* 000000D2 */]
  650. 000007CA  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  651. 000007CE  A916                     syscall    HideWindow
  652. 000007D0  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  653. 000007D4  A983                     syscall    DisposeDialog
  654. 000007D6  42AD F26E                clr.l      [A5 - 0xD92]
  655. 000007DA  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  656. 000007DE  4EAD 02AA                jsr        [A5 + 0x2AA /* export_81 */]
  657. 000007E2  4CDF 1080                movem.l    D7,A4, [A7]+
  658. 000007E6  4E5E                     unlink     A6
  659. 000007E8  4E75                     rts
  660. fn000007EA:
  661. 000007EA  4E56 FDFC                link       A6, -0x0204
  662. 000007EE  48E7 0118                movem.l    -[A7], D7,A3,A4
  663. 000007F2  286E 0008                movea.l    A4, [A6 + 0x8]
  664. 000007F6  47EE FF00                lea.l      A3, [A6 - 0x100]
  665. 000007FA  4247                     clr.w      D7
  666. 000007FC  1E14                     move.b     D7, [A4]
  667. label000007FE:
  668. 000007FE  16DC                     move.b     [A3]+, [A4]+
  669. 00000800  51CF FFFC                dbf        D7, -0x6 /* 000007FE */
  670. 00000804  558F                     subq.l     A7, 2
  671. 00000806  486E FF00                pea.l      [A6 - 0x100]
  672. 0000080A  A88C                     syscall    StringWidth
  673. 0000080C  3E1F                     move.w     D7, [A7]+
  674. 0000080E  0C47 0064                cmpi.w     D7, 0x64 /* 'd' */
  675. 00000812  5EC7                     sgt        D7
  676. 00000814  4407                     neg.b      D7
  677. 00000816  1D47 FEFE                move.b     [A6 - 0x102], D7
  678. 0000081A  4A2E FEFE                tst.b      [A6 - 0x102]
  679. 0000081E  6700 003A                beq        +0x3C /* 0000085A */
  680. 00000822  486E FDFC                pea.l      [A6 - 0x204]
  681. 00000826  486E FF00                pea.l      [A6 - 0x100]
  682. 0000082A  3F3C 0014                move.w     -[A7], 0x14
  683. 0000082E  3F3C 000C                move.w     -[A7], 0xC
  684. 00000832  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  685. 00000836  588F                     addq.l     A7, 4
  686. 00000838  486E FDFC                pea.l      [A6 - 0x204]
  687. 0000083C  487A 0036                pea.l      [PC + 0x36 /* 00000874, value 0x4E56 'NV', cstring "" */]
  688. 00000840  487A 0030                pea.l      [PC + 0x30 /* 00000872, value 0x0, cstring "" */]
  689. 00000844  487A 002A                pea.l      [PC + 0x2A /* 00000870, value 0x0, cstring "" */]
  690. 00000848  A98B                     syscall    ParamText
  691. 0000084A  558F                     subq.l     A7, 2
  692. 0000084C  3F3C 03EE                move.w     -[A7], 0x3EE
  693. 00000850  42A7                     clr.l      -[A7]
  694. 00000852  A988                     syscall    CautionAlert
  695. 00000854  3E1F                     move.w     D7, [A7]+
  696. 00000856  3D47 FEFC                move.w     [A6 - 0x104], D7
  697. label0000085A:
  698. 0000085A  1E2E FEFE                move.b     D7, [A6 - 0x102]
  699. 0000085E  0A07 0001                xori.b     D7, 0x1
  700. 00000862  1D47 000C                move.b     [A6 + 0xC], D7
  701. 00000866  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  702. 0000086A  4E5E                     unlink     A6
  703. 0000086C  2E9F                     move.l     [A7], [A7]+
  704. 0000086E  4E75                     rts
  705. 00000870  0000 0000                ori.b      D0, 0x0
  706. 00000874  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  707. // begin alternate branch 00000876-0000087E
  708. fn00000876:
  709. 00000876  4E56 FEE4                link       A6, -0x011C
  710. 0000087A  48E7 0308                movem.l    -[A7], D6,D7,A4
  711. // end alternate branch 00000876-0000087E
  712. fn00000876: // (misaligned)
  713. 00000878  FEE4 48E7                .extension 0xEE4 <<F/2-3/7>> // unimplemented
  714. 0000087C  0308                     btst       A0, D1
  715. 0000087E  A850                     syscall    InitCursor
  716. 00000880  598F                     subq.l     A7, 4
  717. 00000882  3F3C 03FD                move.w     -[A7], 0x3FD
  718. 00000886  42A7                     clr.l      -[A7]
  719. 00000888  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  720. 0000088E  A97C                     syscall    GetNewDialog
  721. 00000890  2E1F                     move.l     D7, [A7]+
  722. 00000892  2B47 F26E                move.l     [A5 - 0xD92], D7
  723. 00000896  2D6D F26E FFF0           move.l     [A6 - 0x10], [A5 - 0xD92]
  724. 0000089C  598F                     subq.l     A7, 4
  725. 0000089E  2F2D FB86                move.l     -[A7], [A5 - 0x47A]
  726. 000008A2  2F3C 0000 003C           move.l     -[A7], 0x3C /* '<' */
  727. 000008A8  4EAD 011A                jsr        [A5 + 0x11A /* export_31 */]
  728. 000008AC  2E1F                     move.l     D7, [A7]+
  729. 000008AE  2D47 FFFC                move.l     [A6 - 0x4], D7
  730. 000008B2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  731. 000008B6  486E FEE4                pea.l      [A6 - 0x11C]
  732. 000008BA  4EAD 0032                jsr        [A5 + 0x32 /* export_2 */]
  733. 000008BE  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  734. 000008C2  3F3C 0004                move.w     -[A7], 0x4
  735. 000008C6  486E FFF6                pea.l      [A6 - 0xA]
  736. 000008CA  486E FFEC                pea.l      [A6 - 0x14]
  737. 000008CE  486E FFE4                pea.l      [A6 - 0x1C]
  738. 000008D2  A98D                     syscall    GetDialogItem/GetDItem
  739. 000008D4  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  740. 000008D8  486E FEE4                pea.l      [A6 - 0x11C]
  741. 000008DC  A98F                     syscall    SetDialogItemText/SetIText
  742. 000008DE  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  743. 000008E2  3F3C 0004                move.w     -[A7], 0x4
  744. 000008E6  4267                     clr.w      -[A7]
  745. 000008E8  3F3C FFFF                move.w     -[A7], 0xFFFF
  746. 000008EC  A97E                     syscall    SelectDialogItemText/SelIText
  747. label000008EE:
  748. 000008EE  42A7                     clr.l      -[A7]
  749. 000008F0  486E FFF8                pea.l      [A6 - 0x8]
  750. 000008F4  A991                     syscall    ModalDialog
  751. 000008F6  286E FFF0                movea.l    A4, [A6 - 0x10]
  752. 000008FA  286C 00A0                movea.l    A4, [A4 + 0xA0]
  753. 000008FE  2854                     movea.l    A4, [A4]
  754. 00000900  3D6C 0022 FFFA           move.w     [A6 - 0x6], [A4 + 0x22]
  755. 00000906  0C6E 0000 FFFA           cmpi.w     [A6 - 0x6], 0x0
  756. 0000090C  6F00 0066                ble        +0x68 /* 00000974 */
  757. 00000910  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  758. 00000914  486E FEE4                pea.l      [A6 - 0x11C]
  759. 00000918  A990                     syscall    GetDialogItemText/GetIText
  760. 0000091A  3E2E FFFA                move.w     D7, [A6 - 0x6]
  761. 0000091E  49EE FEE4                lea.l      A4, [A6 - 0x11C]
  762. 00000922  4246                     clr.w      D6
  763. 00000924  1C34 7000                move.b     D6, [A4 + D7.w]
  764. 00000928  3D46 FFF4                move.w     [A6 - 0xC], D6
  765. 0000092C  0C6E 0030 FFF4           cmpi.w     [A6 - 0xC], 0x30 /* '0' */
  766. 00000932  5DC7                     slt        D7
  767. 00000934  4407                     neg.b      D7
  768. 00000936  0C6E 0039 FFF4           cmpi.w     [A6 - 0xC], 0x39 /* '9' */
  769. 0000093C  5EC6                     sgt        D6
  770. 0000093E  4406                     neg.b      D6
  771. 00000940  8C07                     or.b       D6, D7
  772. 00000942  4247                     clr.w      D7
  773. 00000944  1E2E FEE4                move.b     D7, [A6 - 0x11C]
  774. 00000948  0C47 0003                cmpi.w     D7, 0x3
  775. 0000094C  5EC7                     sgt        D7
  776. 0000094E  4407                     neg.b      D7
  777. 00000950  8E06                     or.b       D7, D6
  778. 00000952  6700 0020                beq        +0x22 /* 00000974 */
  779. 00000956  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  780. 0000095A  3F3C 0004                move.w     -[A7], 0x4
  781. 0000095E  3E2E FFFA                move.w     D7, [A6 - 0x6]
  782. 00000962  5347                     subq.w     D7, 1
  783. 00000964  3F07                     move.w     -[A7], D7
  784. 00000966  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  785. 0000096A  A97E                     syscall    SelectDialogItemText/SelIText
  786. 0000096C  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  787. 00000970  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  788. label00000974:
  789. 00000974  2E3C 0000 0006           move.l     D7, 0x6
  790. 0000097A  3C2E FFF8                move.w     D6, [A6 - 0x8]
  791. 0000097E  0D07                     btst       D7, D6
  792. 00000980  6700 FF6C                beq        -0x92 /* 000008EE */
  793. 00000984  0C6E 0001 FFF8           cmpi.w     [A6 - 0x8], 0x1
  794. 0000098A  6600 004A                bne        +0x4C /* 000009D6 */
  795. 0000098E  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  796. 00000992  486E FEE4                pea.l      [A6 - 0x11C]
  797. 00000996  A990                     syscall    GetDialogItemText/GetIText
  798. 00000998  486E FEE4                pea.l      [A6 - 0x11C]
  799. 0000099C  486E FFFC                pea.l      [A6 - 0x4]
  800. 000009A0  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  801. 000009A4  598F                     subq.l     A7, 4
  802. 000009A6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  803. 000009AA  2F3C 0000 003C           move.l     -[A7], 0x3C /* '<' */
  804. 000009B0  4EAD 0122                jsr        [A5 + 0x122 /* export_32 */]
  805. 000009B4  2E1F                     move.l     D7, [A7]+
  806. 000009B6  2B47 FB86                move.l     [A5 - 0x47A], D7
  807. 000009BA  4A2D FB70                tst.b      [A5 - 0x490]
  808. 000009BE  6600 0016                bne        +0x18 /* 000009D6 */
  809. 000009C2  598F                     subq.l     A7, 4
  810. 000009C4  A975                     syscall    TickCount
  811. 000009C6  2E1F                     move.l     D7, [A7]+
  812. 000009C8  DEAD FB86                add.l      D7, [A5 - 0x47A]
  813. 000009CC  2B47 FB8A                move.l     [A5 - 0x476], D7
  814. 000009D0  4227                     clr.b      -[A7]
  815. 000009D2  4EAD 0182                jsr        [A5 + 0x182 /* export_44 */]
  816. label000009D6:
  817. 000009D6  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  818. 000009DA  A916                     syscall    HideWindow
  819. 000009DC  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  820. 000009E0  A983                     syscall    DisposeDialog
  821. 000009E2  42AD F26E                clr.l      [A5 - 0xD92]
  822. 000009E6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  823. 000009EA  4E5E                     unlink     A6
  824. 000009EC  4E75                     rts
  825. fn000009EE:
  826. 000009EE  4E56 FFE0                link       A6, -0x0020
  827. 000009F2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  828. 000009F6  A850                     syscall    InitCursor
  829. 000009F8  598F                     subq.l     A7, 4
  830. 000009FA  3F3C 0400                move.w     -[A7], 0x400
  831. 000009FE  42A7                     clr.l      -[A7]
  832. 00000A00  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  833. 00000A06  A97C                     syscall    GetNewDialog
  834. 00000A08  2E1F                     move.l     D7, [A7]+
  835. 00000A0A  2B47 F26E                move.l     [A5 - 0xD92], D7
  836. 00000A0E  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  837. 00000A12  3F3C 0008                move.w     -[A7], 0x8
  838. 00000A16  486E FFEC                pea.l      [A6 - 0x14]
  839. 00000A1A  486E FFE8                pea.l      [A6 - 0x18]
  840. 00000A1E  486E FFE0                pea.l      [A6 - 0x20]
  841. 00000A22  A98D                     syscall    GetDialogItem/GetDItem
  842. 00000A24  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  843. 00000A28  3F3C 0008                move.w     -[A7], 0x8
  844. 00000A2C  3F2E FFEC                move.w     -[A7], [A6 - 0x14]
  845. 00000A30  49ED 01A2                lea.l      A4, [A5 + 0x1A2 /* export_48 */]
  846. 00000A34  2F0C                     move.l     -[A7], A4
  847. 00000A36  486E FFE0                pea.l      [A6 - 0x20]
  848. 00000A3A  A98E                     syscall    SetDialogItem/SetDItem
  849. 00000A3C  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  850. 00000A40  A9A2                     syscall    LoadResource
  851. 00000A42  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  852. 00000A46  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  853. 00000A4A  286D F2B8                movea.l    A4, [A5 - 0xD48]
  854. 00000A4E  2854                     movea.l    A4, [A4]
  855. 00000A50  3E3C 0002                move.w     D7, 0x2
  856. 00000A54  0C47 0005                cmpi.w     D7, 0x5
  857. 00000A58  6E00 002E                bgt        +0x30 /* 00000A88 */
  858. label00000A5C:
  859. 00000A5C  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  860. 00000A60  3F07                     move.w     -[A7], D7
  861. 00000A62  486E FFEC                pea.l      [A6 - 0x14]
  862. 00000A66  3C07                     move.w     D6, D7
  863. 00000A68  5546                     subq.w     D6, 2
  864. 00000A6A  E54E                     lsl        D6.w, 2
  865. 00000A6C  47EE FFF0                lea.l      A3, [A6 - 0x10]
  866. 00000A70  4873 6000                pea.l      [A3 + D6.w]
  867. 00000A74  486E FFE0                pea.l      [A6 - 0x20]
  868. 00000A78  A98D                     syscall    GetDialogItem/GetDItem
  869. 00000A7A  0C47 0005                cmpi.w     D7, 0x5
  870. 00000A7E  6C00 0008                bge        +0xA /* 00000A88 */
  871. 00000A82  5247                     addq.w     D7, 1
  872. 00000A84  4EFA FFD6                jmp        [PC - 0x2A /* 00000A5C */]
  873. label00000A88:
  874. 00000A88  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  875. 00000A8C  4287                     clr.l      D7
  876. 00000A8E  1E2C 0007                move.b     D7, [A4 + 0x7]
  877. 00000A92  3F07                     move.w     -[A7], D7
  878. 00000A94  A963                     syscall    SetControlValue/SetCtlValue
  879. 00000A96  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  880. 00000A9A  1E2C 0007                move.b     D7, [A4 + 0x7]
  881. 00000A9E  0A07 0001                xori.b     D7, 0x1
  882. 00000AA2  4286                     clr.l      D6
  883. 00000AA4  1C07                     move.b     D6, D7
  884. 00000AA6  3F06                     move.w     -[A7], D6
  885. 00000AA8  A963                     syscall    SetControlValue/SetCtlValue
  886. 00000AAA  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  887. 00000AAE  4287                     clr.l      D7
  888. 00000AB0  1E2C 0006                move.b     D7, [A4 + 0x6]
  889. 00000AB4  3F07                     move.w     -[A7], D7
  890. 00000AB6  A963                     syscall    SetControlValue/SetCtlValue
  891. 00000AB8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  892. 00000ABC  1E2C 0006                move.b     D7, [A4 + 0x6]
  893. 00000AC0  0A07 0001                xori.b     D7, 0x1
  894. 00000AC4  4286                     clr.l      D6
  895. 00000AC6  1C07                     move.b     D6, D7
  896. 00000AC8  3F06                     move.w     -[A7], D6
  897. 00000ACA  A963                     syscall    SetControlValue/SetCtlValue
  898. 00000ACC  42A7                     clr.l      -[A7]
  899. 00000ACE  486E FFEE                pea.l      [A6 - 0x12]
  900. 00000AD2  A991                     syscall    ModalDialog
  901. 00000AD4  4EFA 002A                jmp        [PC + 0x2A /* 00000B00 */]
  902. label00000AD8:
  903. 00000AD8  197C 0001 0007           move.b     [A4 + 0x7], 0x1
  904. 00000ADE  4EFA 0048                jmp        [PC + 0x48 /* 00000B28 */]
  905. label00000AE2:
  906. 00000AE2  422C 0007                clr.b      [A4 + 0x7]
  907. 00000AE6  4EFA 0040                jmp        [PC + 0x40 /* 00000B28 */]
  908. label00000AEA:
  909. 00000AEA  197C 0001 0006           move.b     [A4 + 0x6], 0x1
  910. 00000AF0  4EFA 0036                jmp        [PC + 0x36 /* 00000B28 */]
  911. label00000AF4:
  912. 00000AF4  422C 0006                clr.b      [A4 + 0x6]
  913. 00000AF8  4EFA 002E                jmp        [PC + 0x2E /* 00000B28 */]
  914. label00000AFC:
  915. 00000AFC  4EFA 002A                jmp        [PC + 0x2A /* 00000B28 */]
  916. label00000B00:
  917. 00000B00  3E2E FFEE                move.w     D7, [A6 - 0x12]
  918. 00000B04  0C47 0002                cmpi.w     D7, 0x2
  919. 00000B08  6700 FFCE                beq        -0x30 /* 00000AD8 */
  920. 00000B0C  0C47 0003                cmpi.w     D7, 0x3
  921. 00000B10  6700 FFD0                beq        -0x2E /* 00000AE2 */
  922. 00000B14  0C47 0004                cmpi.w     D7, 0x4
  923. 00000B18  6700 FFD0                beq        -0x2E /* 00000AEA */
  924. 00000B1C  0C47 0005                cmpi.w     D7, 0x5
  925. 00000B20  6700 FFD2                beq        -0x2C /* 00000AF4 */
  926. 00000B24  4EFA FFD6                jmp        [PC - 0x2A /* 00000AFC */]
  927. label00000B28:
  928. 00000B28  0C6E 0001 FFEE           cmpi.w     [A6 - 0x12], 0x1
  929. 00000B2E  6600 FF58                bne        -0xA6 /* 00000A88 */
  930. 00000B32  4A2C 0007                tst.b      [A4 + 0x7]
  931. 00000B36  6700 000A                beq        +0xC /* 00000B42 */
  932. 00000B3A  4EBA 0040                jsr        [PC + 0x40 /* 00000B7C */]
  933. 00000B3E  4EFA 0006                jmp        [PC + 0x6 /* 00000B46 */]
  934. label00000B42:
  935. 00000B42  4EBA 0164                jsr        [PC + 0x164 /* 00000CA8 */]
  936. label00000B46:
  937. 00000B46  4AAD F26A                tst.l      [A5 - 0xD96]
  938. 00000B4A  6700 000A                beq        +0xC /* 00000B56 */
  939. 00000B4E  2F2D F26A                move.l     -[A7], [A5 - 0xD96]
  940. 00000B52  4EAD 02AA                jsr        [A5 + 0x2AA /* export_81 */]
  941. label00000B56:
  942. 00000B56  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  943. 00000B5A  A9AA                     syscall    ChangedResource
  944. 00000B5C  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  945. 00000B60  4EAD 00E2                jsr        [A5 + 0xE2 /* export_24 */]
  946. 00000B64  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  947. 00000B68  A916                     syscall    HideWindow
  948. 00000B6A  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  949. 00000B6E  A983                     syscall    DisposeDialog
  950. 00000B70  42AD F26E                clr.l      [A5 - 0xD92]
  951. 00000B74  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  952. 00000B78  4E5E                     unlink     A6
  953. 00000B7A  4E75                     rts
  954. fn00000B7C:
  955. 00000B7C  4E56 FFF8                link       A6, -0x0008
  956. 00000B80  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  957. 00000B84  286D F2B8                movea.l    A4, [A5 - 0xD48]
  958. 00000B88  2854                     movea.l    A4, [A4]
  959. 00000B8A  3E3C 0001                move.w     D7, 0x1
  960. 00000B8E  3C2C 0030                move.w     D6, [A4 + 0x30]
  961. 00000B92  5346                     subq.w     D6, 1
  962. 00000B94  BE46                     cmp.w      D7, D6
  963. 00000B96  6E00 0108                bgt        +0x10A /* 00000CA0 */
  964. 00000B9A  3D46 FFFA                move.w     [A6 - 0x6], D6
  965. label00000B9E:
  966. 00000B9E  3C2C 0030                move.w     D6, [A4 + 0x30]
  967. 00000BA2  3A07                     move.w     D5, D7
  968. 00000BA4  5245                     addq.w     D5, 1
  969. 00000BA6  BC45                     cmp.w      D6, D5
  970. 00000BA8  6D00 00E8                blt        +0xEA /* 00000C92 */
  971. 00000BAC  3D45 FFF8                move.w     [A6 - 0x8], D5
  972. label00000BB0:
  973. 00000BB0  3A07                     move.w     D5, D7
  974. 00000BB2  5345                     subq.w     D5, 1
  975. 00000BB4  CBFC 001E                muls.w     D5, 0x1E
  976. 00000BB8  47EC 0032                lea.l      A3, [A4 + 0x32]
  977. 00000BBC  3806                     move.w     D4, D6
  978. 00000BBE  5344                     subq.w     D4, 1
  979. 00000BC0  C9FC 001E                muls.w     D4, 0x1E
  980. 00000BC4  45EC 0032                lea.l      A2, [A4 + 0x32]
  981. 00000BC8  3633 5002                move.w     D3, [A3 + D5.w + 0x2]
  982. 00000BCC  B672 4002                cmp.w      D3, [A2 + D4.w + 0x2]
  983. 00000BD0  6C00 000E                bge        +0x10 /* 00000BE0 */
  984. 00000BD4  3F07                     move.w     -[A7], D7
  985. 00000BD6  3F06                     move.w     -[A7], D6
  986. 00000BD8  4EBA 016C                jsr        [PC + 0x16C /* 00000D46 */]
  987. 00000BDC  4EFA 00A6                jmp        [PC + 0xA6 /* 00000C84 */]
  988. label00000BE0:
  989. 00000BE0  3A07                     move.w     D5, D7
  990. 00000BE2  5345                     subq.w     D5, 1
  991. 00000BE4  CBFC 001E                muls.w     D5, 0x1E
  992. 00000BE8  47EC 0032                lea.l      A3, [A4 + 0x32]
  993. 00000BEC  3806                     move.w     D4, D6
  994. 00000BEE  5344                     subq.w     D4, 1
  995. 00000BF0  C9FC 001E                muls.w     D4, 0x1E
  996. 00000BF4  45EC 0032                lea.l      A2, [A4 + 0x32]
  997. 00000BF8  3633 5002                move.w     D3, [A3 + D5.w + 0x2]
  998. 00000BFC  B672 4002                cmp.w      D3, [A2 + D4.w + 0x2]
  999. 00000C00  6600 0082                bne        +0x84 /* 00000C84 */
  1000. 00000C04  3A07                     move.w     D5, D7
  1001. 00000C06  5345                     subq.w     D5, 1
  1002. 00000C08  CBFC 001E                muls.w     D5, 0x1E
  1003. 00000C0C  47EC 0032                lea.l      A3, [A4 + 0x32]
  1004. 00000C10  3806                     move.w     D4, D6
  1005. 00000C12  5344                     subq.w     D4, 1
  1006. 00000C14  C9FC 001E                muls.w     D4, 0x1E
  1007. 00000C18  45EC 0032                lea.l      A2, [A4 + 0x32]
  1008. 00000C1C  3633 5008                move.w     D3, [A3 + D5.w + 0x8]
  1009. 00000C20  B672 4008                cmp.w      D3, [A2 + D4.w + 0x8]
  1010. 00000C24  6C00 000E                bge        +0x10 /* 00000C34 */
  1011. 00000C28  3F07                     move.w     -[A7], D7
  1012. 00000C2A  3F06                     move.w     -[A7], D6
  1013. 00000C2C  4EBA 0118                jsr        [PC + 0x118 /* 00000D46 */]
  1014. 00000C30  4EFA 0052                jmp        [PC + 0x52 /* 00000C84 */]
  1015. label00000C34:
  1016. 00000C34  3A07                     move.w     D5, D7
  1017. 00000C36  5345                     subq.w     D5, 1
  1018. 00000C38  CBFC 001E                muls.w     D5, 0x1E
  1019. 00000C3C  47EC 0032                lea.l      A3, [A4 + 0x32]
  1020. 00000C40  3806                     move.w     D4, D6
  1021. 00000C42  5344                     subq.w     D4, 1
  1022. 00000C44  C9FC 001E                muls.w     D4, 0x1E
  1023. 00000C48  45EC 0032                lea.l      A2, [A4 + 0x32]
  1024. 00000C4C  3633 5008                move.w     D3, [A3 + D5.w + 0x8]
  1025. 00000C50  B672 4008                cmp.w      D3, [A2 + D4.w + 0x8]
  1026. 00000C54  6600 002E                bne        +0x30 /* 00000C84 */
  1027. 00000C58  3A07                     move.w     D5, D7
  1028. 00000C5A  5345                     subq.w     D5, 1
  1029. 00000C5C  CBFC 001E                muls.w     D5, 0x1E
  1030. 00000C60  47EC 0032                lea.l      A3, [A4 + 0x32]
  1031. 00000C64  3806                     move.w     D4, D6
  1032. 00000C66  5344                     subq.w     D4, 1
  1033. 00000C68  C9FC 001E                muls.w     D4, 0x1E
  1034. 00000C6C  45EC 0032                lea.l      A2, [A4 + 0x32]
  1035. 00000C70  2633 5004                move.l     D3, [A3 + D5.w + 0x4]
  1036. 00000C74  B6B2 4004                cmp.l      D3, [A2 + D4.w + 0x4]
  1037. 00000C78  6F00 000A                ble        +0xC /* 00000C84 */
  1038. 00000C7C  3F07                     move.w     -[A7], D7
  1039. 00000C7E  3F06                     move.w     -[A7], D6
  1040. 00000C80  4EBA 00C4                jsr        [PC + 0xC4 /* 00000D46 */]
  1041. label00000C84:
  1042. 00000C84  BC6E FFF8                cmp.w      D6, [A6 - 0x8]
  1043. 00000C88  6F00 0008                ble        +0xA /* 00000C92 */
  1044. 00000C8C  5346                     subq.w     D6, 1
  1045. 00000C8E  4EFA FF20                jmp        [PC - 0xE0 /* 00000BB0 */]
  1046. label00000C92:
  1047. 00000C92  BE6E FFFA                cmp.w      D7, [A6 - 0x6]
  1048. 00000C96  6C00 0008                bge        +0xA /* 00000CA0 */
  1049. 00000C9A  5247                     addq.w     D7, 1
  1050. 00000C9C  4EFA FF00                jmp        [PC - 0x100 /* 00000B9E */]
  1051. label00000CA0:
  1052. 00000CA0  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1053. 00000CA4  4E5E                     unlink     A6
  1054. 00000CA6  4E75                     rts
  1055. fn00000CA8:
  1056. 00000CA8  4E56 FFF8                link       A6, -0x0008
  1057. 00000CAC  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  1058. 00000CB0  286D F2B8                movea.l    A4, [A5 - 0xD48]
  1059. 00000CB4  2854                     movea.l    A4, [A4]
  1060. 00000CB6  3E3C 0001                move.w     D7, 0x1
  1061. 00000CBA  3C2C 0030                move.w     D6, [A4 + 0x30]
  1062. 00000CBE  5346                     subq.w     D6, 1
  1063. 00000CC0  BE46                     cmp.w      D7, D6
  1064. 00000CC2  6E00 007A                bgt        +0x7C /* 00000D3E */
  1065. 00000CC6  3D46 FFFA                move.w     [A6 - 0x6], D6
  1066. label00000CCA:
  1067. 00000CCA  3C2C 0030                move.w     D6, [A4 + 0x30]
  1068. 00000CCE  3A07                     move.w     D5, D7
  1069. 00000CD0  5245                     addq.w     D5, 1
  1070. 00000CD2  BC45                     cmp.w      D6, D5
  1071. 00000CD4  6D00 005A                blt        +0x5C /* 00000D30 */
  1072. 00000CD8  3D45 FFF8                move.w     [A6 - 0x8], D5
  1073. label00000CDC:
  1074. 00000CDC  3A07                     move.w     D5, D7
  1075. 00000CDE  5345                     subq.w     D5, 1
  1076. 00000CE0  CBFC 001E                muls.w     D5, 0x1E
  1077. 00000CE4  47EC 0032                lea.l      A3, [A4 + 0x32]
  1078. 00000CE8  3806                     move.w     D4, D6
  1079. 00000CEA  5344                     subq.w     D4, 1
  1080. 00000CEC  C9FC 001E                muls.w     D4, 0x1E
  1081. 00000CF0  45EC 0032                lea.l      A2, [A4 + 0x32]
  1082. 00000CF4  2633 501A                move.l     D3, [A3 + D5.w + 0x1A]
  1083. 00000CF8  B6B2 401A                cmp.l      D3, [A2 + D4.w + 0x1A]
  1084. 00000CFC  5EC5                     sgt        D5
  1085. 00000CFE  4405                     neg.b      D5
  1086. 00000D00  3806                     move.w     D4, D6
  1087. 00000D02  5344                     subq.w     D4, 1
  1088. 00000D04  C9FC 001E                muls.w     D4, 0x1E
  1089. 00000D08  47EC 0032                lea.l      A3, [A4 + 0x32]
  1090. 00000D0C  4AB3 401A                tst.l      [A3 + D4.w + 0x1A]
  1091. 00000D10  56C4                     sne        D4
  1092. 00000D12  4404                     neg.b      D4
  1093. 00000D14  C805                     and.b      D4, D5
  1094. 00000D16  6700 000A                beq        +0xC /* 00000D22 */
  1095. 00000D1A  3F07                     move.w     -[A7], D7
  1096. 00000D1C  3F06                     move.w     -[A7], D6
  1097. 00000D1E  4EBA 0026                jsr        [PC + 0x26 /* 00000D46 */]
  1098. label00000D22:
  1099. 00000D22  BC6E FFF8                cmp.w      D6, [A6 - 0x8]
  1100. 00000D26  6F00 0008                ble        +0xA /* 00000D30 */
  1101. 00000D2A  5346                     subq.w     D6, 1
  1102. 00000D2C  4EFA FFAE                jmp        [PC - 0x52 /* 00000CDC */]
  1103. label00000D30:
  1104. 00000D30  BE6E FFFA                cmp.w      D7, [A6 - 0x6]
  1105. 00000D34  6C00 0008                bge        +0xA /* 00000D3E */
  1106. 00000D38  5247                     addq.w     D7, 1
  1107. 00000D3A  4EFA FF8E                jmp        [PC - 0x72 /* 00000CCA */]
  1108. label00000D3E:
  1109. 00000D3E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1110. 00000D42  4E5E                     unlink     A6
  1111. 00000D44  4E75                     rts
  1112. fn00000D46:
  1113. 00000D46  4E56 FFE2                link       A6, -0x001E
  1114. 00000D4A  48E7 0338                movem.l    -[A7], D6,D7,A2,A3,A4
  1115. 00000D4E  286D F2B8                movea.l    A4, [A5 - 0xD48]
  1116. 00000D52  2854                     movea.l    A4, [A4]
  1117. 00000D54  3E2E 000A                move.w     D7, [A6 + 0xA]
  1118. 00000D58  5347                     subq.w     D7, 1
  1119. 00000D5A  CFFC 001E                muls.w     D7, 0x1E
  1120. 00000D5E  47EC 0032                lea.l      A3, [A4 + 0x32]
  1121. 00000D62  45EE FFE2                lea.l      A2, [A6 - 0x1E]
  1122. 00000D66  47F3 7000                lea.l      A3, [A3 + D7.w]
  1123. 00000D6A  3E3C 001D                move.w     D7, 0x1D
  1124. label00000D6E:
  1125. 00000D6E  14DB                     move.b     [A2]+, [A3]+
  1126. 00000D70  51CF FFFC                dbf        D7, -0x6 /* 00000D6E */
  1127. 00000D74  3E2E 000A                move.w     D7, [A6 + 0xA]
  1128. 00000D78  5347                     subq.w     D7, 1
  1129. 00000D7A  CFFC 001E                muls.w     D7, 0x1E
  1130. 00000D7E  47EC 0032                lea.l      A3, [A4 + 0x32]
  1131. 00000D82  3C2E 0008                move.w     D6, [A6 + 0x8]
  1132. 00000D86  5346                     subq.w     D6, 1
  1133. 00000D88  CDFC 001E                muls.w     D6, 0x1E
  1134. 00000D8C  45EC 0032                lea.l      A2, [A4 + 0x32]
  1135. 00000D90  47F3 7000                lea.l      A3, [A3 + D7.w]
  1136. 00000D94  45F2 6000                lea.l      A2, [A2 + D6.w]
  1137. 00000D98  3E3C 001D                move.w     D7, 0x1D
  1138. label00000D9C:
  1139. 00000D9C  16DA                     move.b     [A3]+, [A2]+
  1140. 00000D9E  51CF FFFC                dbf        D7, -0x6 /* 00000D9C */
  1141. 00000DA2  3E2E 0008                move.w     D7, [A6 + 0x8]
  1142. 00000DA6  5347                     subq.w     D7, 1
  1143. 00000DA8  CFFC 001E                muls.w     D7, 0x1E
  1144. 00000DAC  47EC 0032                lea.l      A3, [A4 + 0x32]
  1145. 00000DB0  47F3 7000                lea.l      A3, [A3 + D7.w]
  1146. 00000DB4  45EE FFE2                lea.l      A2, [A6 - 0x1E]
  1147. 00000DB8  3E3C 001D                move.w     D7, 0x1D
  1148. label00000DBC:
  1149. 00000DBC  16DA                     move.b     [A3]+, [A2]+
  1150. 00000DBE  51CF FFFC                dbf        D7, -0x6 /* 00000DBC */
  1151. 00000DC2  3E2D FB84                move.w     D7, [A5 - 0x47C]
  1152. 00000DC6  BE6E 000A                cmp.w      D7, [A6 + 0xA]
  1153. 00000DCA  6600 000C                bne        +0xE /* 00000DD8 */
  1154. 00000DCE  3B6E 0008 FB84           move.w     [A5 - 0x47C], [A6 + 0x8]
  1155. 00000DD4  4EFA 0014                jmp        [PC + 0x14 /* 00000DEA */]
  1156. label00000DD8:
  1157. 00000DD8  3E2D FB84                move.w     D7, [A5 - 0x47C]
  1158. 00000DDC  BE6E 0008                cmp.w      D7, [A6 + 0x8]
  1159. 00000DE0  6600 0008                bne        +0xA /* 00000DEA */
  1160. 00000DE4  3B6E 000A FB84           move.w     [A5 - 0x47C], [A6 + 0xA]
  1161. label00000DEA:
  1162. 00000DEA  4CDF 1CC0                movem.l    D6,D7,A2,A3,A4, [A7]+
  1163. 00000DEE  4E5E                     unlink     A6
  1164. 00000DF0  2E9F                     move.l     [A7], [A7]+
  1165. 00000DF2  4E75                     rts
  1166. fn00000DF4:
  1167. 00000DF4  4E56 FFE8                link       A6, -0x0018
  1168. 00000DF8  48E7 0308                movem.l    -[A7], D6,D7,A4
  1169. 00000DFC  A850                     syscall    InitCursor
  1170. 00000DFE  598F                     subq.l     A7, 4
  1171. 00000E00  3F3C 0401                move.w     -[A7], 0x401
  1172. 00000E04  42A7                     clr.l      -[A7]
  1173. 00000E06  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  1174. 00000E0C  A97C                     syscall    GetNewDialog
  1175. 00000E0E  2E1F                     move.l     D7, [A7]+
  1176. 00000E10  2B47 F26E                move.l     [A5 - 0xD92], D7
  1177. 00000E14  3E3C 0002                move.w     D7, 0x2
  1178. 00000E18  0C47 0004                cmpi.w     D7, 0x4
  1179. 00000E1C  6E00 002E                bgt        +0x30 /* 00000E4C */
  1180. label00000E20:
  1181. 00000E20  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  1182. 00000E24  3F07                     move.w     -[A7], D7
  1183. 00000E26  486E FFF0                pea.l      [A6 - 0x10]
  1184. 00000E2A  3C07                     move.w     D6, D7
  1185. 00000E2C  5546                     subq.w     D6, 2
  1186. 00000E2E  E54E                     lsl        D6.w, 2
  1187. 00000E30  49EE FFF4                lea.l      A4, [A6 - 0xC]
  1188. 00000E34  4874 6000                pea.l      [A4 + D6.w]
  1189. 00000E38  486E FFE8                pea.l      [A6 - 0x18]
  1190. 00000E3C  A98D                     syscall    GetDialogItem/GetDItem
  1191. 00000E3E  0C47 0004                cmpi.w     D7, 0x4
  1192. 00000E42  6C00 0008                bge        +0xA /* 00000E4C */
  1193. 00000E46  5247                     addq.w     D7, 1
  1194. 00000E48  4EFA FFD6                jmp        [PC - 0x2A /* 00000E20 */]
  1195. label00000E4C:
  1196. 00000E4C  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1197. 00000E50  0C6D 0008 FB76           cmpi.w     [A5 - 0x48A], 0x8
  1198. 00000E56  57C7                     seq        D7
  1199. 00000E58  4407                     neg.b      D7
  1200. 00000E5A  4286                     clr.l      D6
  1201. 00000E5C  1C07                     move.b     D6, D7
  1202. 00000E5E  3F06                     move.w     -[A7], D6
  1203. 00000E60  A963                     syscall    SetControlValue/SetCtlValue
  1204. 00000E62  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1205. 00000E66  0C6D 0004 FB76           cmpi.w     [A5 - 0x48A], 0x4
  1206. 00000E6C  57C7                     seq        D7
  1207. 00000E6E  4407                     neg.b      D7
  1208. 00000E70  4286                     clr.l      D6
  1209. 00000E72  1C07                     move.b     D6, D7
  1210. 00000E74  3F06                     move.w     -[A7], D6
  1211. 00000E76  A963                     syscall    SetControlValue/SetCtlValue
  1212. 00000E78  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1213. 00000E7C  0C6D 0002 FB76           cmpi.w     [A5 - 0x48A], 0x2
  1214. 00000E82  57C7                     seq        D7
  1215. 00000E84  4407                     neg.b      D7
  1216. 00000E86  4286                     clr.l      D6
  1217. 00000E88  1C07                     move.b     D6, D7
  1218. 00000E8A  3F06                     move.w     -[A7], D6
  1219. 00000E8C  A963                     syscall    SetControlValue/SetCtlValue
  1220. 00000E8E  42A7                     clr.l      -[A7]
  1221. 00000E90  486E FFF2                pea.l      [A6 - 0xE]
  1222. 00000E94  A991                     syscall    ModalDialog
  1223. 00000E96  4EFA 0024                jmp        [PC + 0x24 /* 00000EBC */]
  1224. label00000E9A:
  1225. 00000E9A  3B7C 0008 FB76           move.w     [A5 - 0x48A], 0x8
  1226. 00000EA0  4EFA 003A                jmp        [PC + 0x3A /* 00000EDC */]
  1227. label00000EA4:
  1228. 00000EA4  3B7C 0004 FB76           move.w     [A5 - 0x48A], 0x4
  1229. 00000EAA  4EFA 0030                jmp        [PC + 0x30 /* 00000EDC */]
  1230. label00000EAE:
  1231. 00000EAE  3B7C 0002 FB76           move.w     [A5 - 0x48A], 0x2
  1232. 00000EB4  4EFA 0026                jmp        [PC + 0x26 /* 00000EDC */]
  1233. label00000EB8:
  1234. 00000EB8  4EFA 0022                jmp        [PC + 0x22 /* 00000EDC */]
  1235. label00000EBC:
  1236. 00000EBC  3E2E FFF2                move.w     D7, [A6 - 0xE]
  1237. 00000EC0  0C47 0002                cmpi.w     D7, 0x2
  1238. 00000EC4  6700 FFD4                beq        -0x2A /* 00000E9A */
  1239. 00000EC8  0C47 0003                cmpi.w     D7, 0x3
  1240. 00000ECC  6700 FFD6                beq        -0x28 /* 00000EA4 */
  1241. 00000ED0  0C47 0004                cmpi.w     D7, 0x4
  1242. 00000ED4  6700 FFD8                beq        -0x26 /* 00000EAE */
  1243. 00000ED8  4EFA FFDE                jmp        [PC - 0x22 /* 00000EB8 */]
  1244. label00000EDC:
  1245. 00000EDC  0C6E 0001 FFF2           cmpi.w     [A6 - 0xE], 0x1
  1246. 00000EE2  6600 FF68                bne        -0x96 /* 00000E4C */
  1247. 00000EE6  1B7C 0001 FB98           move.b     [A5 - 0x468], 0x1
  1248. 00000EEC  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  1249. 00000EF0  A916                     syscall    HideWindow
  1250. 00000EF2  2F2D F26E                move.l     -[A7], [A5 - 0xD92]
  1251. 00000EF6  A983                     syscall    DisposeDialog
  1252. 00000EF8  42AD F26E                clr.l      [A5 - 0xD92]
  1253. 00000EFC  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  1254. 00000F00  4E5E                     unlink     A6
  1255. 00000F02  4E75                     rts
  1256.